package com.qianji.petmall.order.feign;

import com.qianji.petmall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author liang zai
 * @date 2022/4/24 18:20
 * @description
 */
@FeignClient("petmall-member")
public interface MemberFeignService {

    //通过id查询库存信息
    @GetMapping("member/memberreceiveaddress/{id}/address")
    List<MemberAddressVo> address(@PathVariable("id") Long id);

}
